Skip to content

Support remote action cache for nested local execution#2031

Merged
abderrahim merged 8 commits intomasterfrom
jbilleter/action-cache
Jul 11, 2025
Merged

Support remote action cache for nested local execution#2031
abderrahim merged 8 commits intomasterfrom
jbilleter/action-cache

Conversation

@juergbi
Copy link
Contributor

@juergbi juergbi commented Jul 4, 2025

This generalizes the remote-execution config section to support using the Remote Execution API while still using local execution, only using the CAS and Action Cache services of the REAPI. I.e., this allows a remote-execution config section with action-cache-service also if no execution-service is configured.

This branch supports a remote action cache with local execution only for nested REAPI clients using the remote execution protocol. Using an action cache (local or remote) also for BuildStream build jobs is not implemented in this branch but is planned for a follow-up.

This requires buildbox-casd master or 1.3.23 (should be released early next week).

@juergbi juergbi force-pushed the jbilleter/action-cache branch from 5bc5aad to e4ed456 Compare July 4, 2025 11:13
@juergbi juergbi marked this pull request as ready for review July 4, 2025 11:13
@juergbi juergbi force-pushed the jbilleter/action-cache branch from e4ed456 to cb73060 Compare July 4, 2025 11:19
Copy link
Contributor

@abderrahim abderrahim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I have a few comments and questions, but nothing that I would consider a blocker.

juergbi added 8 commits July 11, 2025 12:27
This makes it possible to drop the fallback to direct connections to
remote servers.
Without direct gRPC connections to remote servers, these cleanup methods
are no longer needed.
This is the latest protobuf version before protobuf 6, which includes
breaking changes. protobuf 5.29 is supported until 31 Mar 2026.
@juergbi juergbi force-pushed the jbilleter/action-cache branch from cb73060 to be20044 Compare July 11, 2025 12:53
@abderrahim abderrahim merged commit dbd0ee7 into master Jul 11, 2025
33 of 34 checks passed
@abderrahim abderrahim deleted the jbilleter/action-cache branch July 11, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants